home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / picture / trans.h < prev    next >
Encoding:
Text File  |  1993-09-23  |  2.1 KB  |  26 lines  |  [TEXT/????]

  1. //    Copyright 1993 Ralph Gonzalez
  2.  
  3. /*
  4. *    FILE:        trans.h
  5. *    AUTHOR:        R. Gonzalez
  6. *    CREATED:    October 3, 1990
  7. *
  8. *    Defines 3D transformation (using trans. matrix) for picture
  9. *    application.
  10. */
  11.  
  12. # ifndef    trans_h
  13. # define    trans_h
  14.  
  15. # include    "class.h"
  16. # define    PI        3.1415926
  17.  
  18. /******************************************************************
  19. *   abstract transformation
  20. ******************************************************************/
  21. class    Transformation:public Generic_Class
  22. {
  23. public:
  24.     double            m[4][4];
  25.     
  26.     Transfor